﻿using DAO;
using DTO;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
    public class PhanQuyen_BLL
    {
        public static DataTable SelectAll()
        {
            return PhanQuyen_DAO.SelectAll();
        }

        public static PhanQuyen_DTO SelectByTen(string ten)
        {
            return PhanQuyen_DAO.SelectByTen(ten);
        }
        public static void Insert(PhanQuyen_DTO dto)
        {
            PhanQuyen_DAO.Insert(dto);
        }
        public static void Update(PhanQuyen_DTO dto)
        {
            PhanQuyen_DAO.Update(dto);
        }
        public static void Delete(string ten)
        {
            PhanQuyen_DAO.Delete(ten);
        }
    }
}
